typedstream IBObjectData Object CustomObject Application Responder CustomView SpaceView TextField Control TextFieldCell ActionCell Player 1 Helvetica Player 2 Button ButtonCell Pause Continue Abort WindowTemplate iiii***@s@ SpaceWar Window Version 1.0 by ... NXImage NXdefaultappicon /Copyright 1993, JKH, Inc. All Rights Reserved. John Hermann [22@] Controls Slider SliderCell dddf@d@ Acceleration Deceleration Ship Velocity Bullet Velocity Bullet Life Play Till Gravity MenuTemplate *@*@ccc Matrix @:@iiii MenuCell submenuAction: NXmenuArrow Show Highs5 Sound5 Hide5 Quit5 ff@@#::s Info...5 Help...5 Preferences...5 Panel2 Panel ScrollView ClipView ciifffcfffs [3008c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;} \margl40 \margr40 {\colortbl;\red0\green0\blue0;} \f0\b0\i0\ulnone\ql\fs24\fi0\li0\gray0\fc0\cf0\up0\dn0 SpaceWar (NeXT Step 3.0 or better)\ This program costs $5 if you want to keep it.\ Send $5 to:\ John Hermann\ \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc1\cf1 1225 Meander\ Abilene, TX. 79602\ Information\ SpaceWar is a two player game of strategy and skill. The object of the game is to destroy your opponent's space ship.\ Player 1's space ship will begin each round of battle somewhere on the left side of the screen. Player 2's\ ship will begin each round on the right side of the screen.\ Each ship has equal capability. Each ship can increase its velocity by use of the thrust button. Steering is accomplished by simultaneously pressing the thrust button and either of the left or right rotate buttons. \ Points are awarded whenever a ship is destroyed. Each player will receive a point when mutual destruction occurs\ regardless of which ship is destroyed first.\ Hyperspace\ If a ship finds itself in trouble, it can use its hyperspace device to instantaneously transport to a random location in the playfield. Caution should be used when using hyperspace due to a significant chance of destruction on reentry. Thus hyperspace should be viewed as a device of last resort.\ The Star\ A star resides in the center of the field of play. The star has gravitational attraction to the ships and the bullets fired by the ships. The intensity of the gravity is user variable, and can be positive, negative, or zero. Collisons between ships and the star are fatal.\ The Controls panel\ Game play can be varied via the Controls panel which will appear to the lower right of the game window. The following are the game variables and what they do.\ \ul Acceleration \ulnone - Ship's acceleration rate due to thrust.\ \ul Deceleration \ulnone - Ship's rate of deceleration when coasting.\ \ul Ship Velocity \ulnone - Maximum velocity obtainable by ships.\ \ul Bullet Velocity \ulnone - Speed of bullets.\ \ul Bullet Life \ulnone - How long bullet lasts before disappearing.\ \ul Gravity \ulnone - Intensity of star's gravitational pull.\ \ul Play Till \ulnone - Number of points needed for player to win game.\ Unlimited play is allowed when the Play Till variable is zero.\ Ship Controls\ Player 1 (use keyboard)\ "a" - rotate left\ "s" - rotate right\ "d" - thrust\ "f" - fire\ - hyperspace\ Player 2 (use keypad)\ "4" - rotate left\ "5" - rotate right\ "6" - thrust\ "+" - fire\ "0" - hyperspace\ Limitations\ The NeXT computers are capable of only recognizing two keys down at a time. Thus each player must agree to only pressing one key at a time in order to keep game play fair.\ But even with that limitation, the game is still very amusing.\ If the game variables are put to the extremes, some very interesting effects may result!! NXCursor NXibeam Scroller _doScroller: @@@ffs] Preferences Panel1 File's Owner Field MainMenu Field2 Button1 VersionNumber MyWindow Button2 ScrollingText Field1 Field3 [34@] IBOutletConnector IBConnector outScore1 outScore0 IBControlConnector newGame: switchSound: showHighs: abortGame: orderFront: terminate: hide: pauseGame: delegate takeFloatValueFrom: setACCEL: setDEACCEL: setVMAX: setBS: setBLIFE: setGRAV: Accel Deaccel Blife takeIntValueFrom: setGOAL: